package com.boco.wmworkflow.base;

import com.boco.webmaster.base.WMAction;
import com.boco.wmworkflow.common.xmlmodel.WfActionXmlModel;
import com.boco.webmaster.common.xsdmap.workflow.wfaction.*;

public abstract class AbstractWfAction extends WMAction{
    public AbstractWfAction() {
    }

    public String getBoName(String processId, int processType){
        ActionType action = WfActionXmlModel.getInstance().getProcessAction(processId, processType);
        return action.getBoName();
    }

    public String getFormClassName(String processId, int processType, String formName){
        return WfActionXmlModel.getInstance().getActionFormClassName(processId, processType, formName);
    }
}
